package com.cn.xiaonuo.slbfinances.slborders.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 业绩钱包
 * @TableName sl_score_wallet
 */
@TableName(value ="sl_score_wallet")
@Data
public class SlScoreWallet implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 余额
     */
    private Integer availableBalance;

    /**
     * 冻结余额
     */
    private Integer freezeBalance;

    /**
     * 是否停用1:停用 0:开启
     */
    private Integer disable;

    /**
     * 软删除  0.正常 1.删除
     */
    private Integer deleted;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updatedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}